package com.example.miniblog.service;

import com.example.miniblog.entity.Article;
import com.example.miniblog.entity.User;

import java.util.List;
// 对article进行增删改查
public interface IArticleService {

    public boolean addArticle(Article article);
    public boolean removeArticleById(String id);
    public boolean updateArticle(Article article);
    public List<Article> getArticleByUsername(String Username);
    public Article getArticleById(String id);
    public List<Article> getAll();
}
